﻿#ifndef GRID_H
#define GRID_H

#include <QLabel>
#include "config.h"

class Grid : public QLabel
{
public:
    Grid();

    int m_X;
    int m_Y;

    bool isSweeped;
    bool hasMine;
    bool isMarked;
    bool isSteped;

    int numOfMine;

public slots:
    void updateGrid();
    void initGrid();
};

#endif // GRID_H
